@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">

            <blockquote class="layui-elem-quote layui-text">
                <a>导航位置：</a>
                <a >广告管理 > </a>
                <a href="${ctxPath}/ggmanger/ggmanger_add">广告添加</a>

            <span style="visibility:visible;float: right;" class="layui-breadcrumb" lay-separator=">">
            <a style="color: #01AAED !important" href="${ctxPath}/ggmanger/ggmanger_add">添加广告 | </a>
            <a style="color: #01AAED !important" href="${ctxPath}/category">管理广告分类</a>
            </span>
            </blockquote>


            <!--<span style="visibility:visible;" class="layui-breadcrumb" lay-separator=">">-->
            <!--<a>导航位置：</a>-->
            <!--<a >广告管理 > </a>-->
            <!--<a href="${ctxPath}/ggmanger/ggmanger_add">广告添加</a>-->
            <!--</span>-->

            <!--<span style="visibility:visible;float: right;" class="layui-breadcrumb" lay-separator=">">-->
            <!--<a href="${ctxPath}/ggmanger/ggmanger_add">添加广告 | </a>-->
            <!--<a href="${ctxPath}/category">管理广告分类</a>-->
            <!--</span>-->
            <!--<div class="ibox-title">-->
                <!--<h5>广告管理</h5>-->
            <!--</div>-->
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <form class="layui-form">
                                <div class="col-sm-3">
                                    关键字：
                                    <div class="layui-inline">
                                        <input class="layui-input" name="name" id="name" autocomplete="off">

                                    </div>

                                </div>
                                <div class="col-sm-2">
                                    <select name="searchType" id="searchType" lay-verify="">
                                        <option value="0">不限</option>
                                        <option value="1">广告名称</option>
                                        <option value="2">备注</option>
                                    </select>
                                </div>
                                <div class="col-sm-2">
                                    <select name="ggCategoryId" id="ggCategoryId" lay-verify="">
                                        <!--<option value="0">不限</option>-->
                                    </select>
                                </div>
                                <div class="col-sm-2">
                                    <select name="typename" id="typename" lay-filter="aihao">
                                        <option value="">不限广告类型</option>
                                        <option value="横幅广告">横幅广告</option>
                                        <option value="消息流广告">消息流广告</option>
                                        <option value="html广告">html广告</option>
                                    </select>

                                </div>
                                <div class="col-sm-2">
                                    <label class="layui-form-label" style="width: 86px;">过期广告</label>
                                    <div class="layui-input-block">
                                        <input id="overduegg" lay-filter="overduegg" type="checkbox" name="close" lay-skin="switch" lay-text="ON|OFF">
                                    </div>
                                </div>
                                <!--<div class="col-sm-1">-->
                                    <!--<label class="layui-form-label">过期广告</label>-->
                                    <!--<input type="checkbox" checked="" name="open" lay-skin="switch" lay-filter="switchTest" title="过期广告">-->

                                <!--</div>-->

                            </form>


                        </div>
                        <div class="hidden-xs" id="GgmangerTableToolbar" role="group">
                            @if(shiro.hasPermission("/ggmanger/ggmanger_add")){
                            <div class="col-sm-3">

                                <button class="layui-btn" data-type="reload">搜索</button>
                                <button class="layui-btn layui-btn-danger" data-type="deleteCheckData">删除选中的数据</button>
                            </div>
                            <!--<button class="layui-btn" data-type="addgg">添加广告</button>-->
                            @}

                        </div>

                    </div>

                </div>
                <table class="layui-hide" id="ggmanger" lay-filter="ggmangerfilter"></table>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="${ctxPath}/static/modular/app/ggmanger/ggmanger.js"></script>
@}
